package Day27;

public class Demo02 {
    public static void main(String[] args) {
        System.out.println(Level2.LOW.getLevelValue());//打印级别
        System.out.println(Level2.LOW.compareTo(Level2.HIGH));
        System.out.println(Level2.LOW.name());//打印级别名字
        Level3.LOW.show();Level3.HIGH.show();
    }
    public static void hahha(Level2 l){
        switch (l){
            case LOW:break;
            case HIGH: break;
            case MEDIUM:break;
            default:return;
        }
    }
}
